package cn.iocoder.yudao.module.lowcode.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import lombok.extern.slf4j.Slf4j;

/**
 * Groovy 脚本自动配置类
 * 
 * 组件通过注解自动注册:
 * - GroovyScriptCacheManager 通过 @Component 注解注册
 * - GroovyScriptServiceImpl 通过 @Service 注解注册
 * 
 * @author 芋道源码
 */
@Configuration
@ConditionalOnProperty(prefix = "yudao.lowcode.groovy-script", name = "enabled", havingValue = "true", matchIfMissing = true)
@Slf4j
public class YudaoGroovyScriptAutoConfiguration {

    public YudaoGroovyScriptAutoConfiguration() {
        log.info("[YudaoGroovyScriptAutoConfiguration] Groovy 脚本模块已启用");
    }

}